package com.book.util;

import org.springframework.stereotype.Component;

/**
 * @Author LiJinCheng
 * @Date 2020/11/13 8:24 下午
 * @Version 1.0
 * @package com.book.util
 **/
@Component
public class Constants {
    public final static String SUCCESS = "success";
    public final static String ERROR = "error";
    /**
     * redis中手机号集合的key
     */
    public final static String USER_PHONE = "user_phone";
    public final static String USER_NAME = "user_name";
    public final static String USER_EMAIL = "user_email";

    public static final String LOGIN_USER = "user";
    public static final String ISBN = "isbn";

    public static final String USER_BOOK = "u_book";
    public static final String BOOK_KEY = "book_key";
    public static final String USER_CODE = "user_code";
    public static final String IMG_NUM = "img_num";

    public static final String NEW_BOOK = "new_book";

    public static String PATH = "/Users/lijincheng/IdeaProjects/graduation-project/web/src/main/web/upload";
}
